package com.yby.dome4;

public class Car extends Vehicle {
    public Car(String name, double speed){
        super(name,speed);
    }
    public void move(){
        System.out.println(name+"正在公路上，以"+speed+"km/h行驶");
    }
}
